import { Popover } from 'antd';
import ask from '@/assets/ask.png';

import './index.less';
const Question: React.FC<{ word: string | React.ReactNode }> = ({ word }) => {
  return (
    <div className="circle" style={{ position: 'absolute', right: 0, top: 16 }}>
      <Popover content={word}>
        <img src={ask} width={20} height={20} />
      </Popover>
    </div>
  );
};

export default Question;
